﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetDon.OA.Interface.Admin
{
    public interface ICompanyService
    {
        CompanyDataCollection GetChildCompanies(Guid inventoryCategoryId);

        CompanyDataCollection GetRootCompanies();

        CompanyData GetCompany(Guid inventoryCategoryId);

        bool RemoveCompany(Guid inventoryCategoryId);

        bool CheckCompanyUsed(Guid categoryId);

        bool AddCompany(CompanyData category);

        bool ModifyCompany(CompanyData category);
    }
}
